<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
Title      : Level 2.0
Version    : 1.0
Released   : 20070821
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>AP-PIC : {% block title %}Home{% endblock %}</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<link href="/styles/default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<!-- start header -->
<div id="header">
	<div id="logo">
		<h1><a href="/">Pictures. Free. Simple.</a></h1>
		<p><a href="http://code.google.com/p/ap-pic/">By AP-Pic</a></p>
	</div>
	<div id="menu">
		<ul>
			<li {%block home_class_text%}class="current_page_item"{%endblock%}><a href="/">Home</a></li>
<!--			<li><a href="#">Blog</a></li> -->
			<li {%block photos_class_text%}{%endblock%}><a href="{%url views.listall%}">Photos</a></li>
			<li {%block about_class_text%}{%endblock%}><a href="/about">About</a></li>
			<li><a href="{{ user_url }}">Sign {% if user %}out{%else%}in{%endif%}</a></li>
		</ul>
	</div>
</div>
<!-- end header -->
<!-- start page -->
<div id="page">
	<!-- start sidebar -->
	<div id="sidebar">
		<ul>
			<li id="search">
				<form id="searchform" method="get" action="">
					<div>
						<input type="text" name="s" id="s" size="15" value="doesn't work yet"/>
						<br />
						<input type="submit" value="Search" />
					</div>
				</form>
			</li>
			<li id="categories">
				<h2>Navigation</h2>
				<ul>
				<li><a href="{%url views.index%}">Home</a></li>
				<li><a href="{%url views.add%}">Add a Picture</a></li>
				<li><a href="{%url views.listall%}">List all Pictures</a></li>
				<li><a href="{{ user_url }}">Sign {% if user %}out ({{user.nickname}}) {%else%}in{%endif%}</a></li>
				</ul>
			</li>
		</ul>
	</div>
	<!-- end sidebar -->
	<!-- start content -->
	<div id="content">
		<div class="post">
			<div class="title">
				<h2>{% block page_title%} Welcome {% endblock %}</h2>
				{%block posted_by%}{%endblock%}
			</div>
			<div class="entry">
				{% block maincontent %}
				<b>This should be changed by various pages</b>
				{% endblock %}
			</div>
		</div>
	</div>
	<!-- end content -->
	<br style="clear: both;" />
</div>
<!-- end page -->
<!-- start footer -->
<div id="footer">
	<p class="links">
		<a href="#" class="rss" title="Subscribe to entries web feed">Entries (<abbr title="Really Simple Syndication">RSS</abbr>)</a>
		&nbsp;&nbsp;&nbsp;
		<a href="#" class="rss" title="Subscribe to comments web feed">Entries (<abbr title="Really Simple Syndication">RSS</abbr>)</a>
		&nbsp;&nbsp;&nbsp;
		<a href="http://validator.w3.org/check/referer" class="xhtml" title="This page validates as XHTML">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a>
		&nbsp;&nbsp;&nbsp;
		<a href="http://jigsaw.w3.org/css-validator/check/referer" class="css" title="This page validates as CSS">Valid <abbr title="Cascading Style Sheets">CSS</abbr></a>
	</p>
	<p class="legal">
		&copy; Animesh Pathak (Apache License). Powered by <a href="http://code.google.com/p/ap-pic/" target="_blank">ap-pic</a> beta.
		&nbsp;&nbsp;&bull;&nbsp;&nbsp;
		Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>
		&nbsp;&nbsp;&bull;&nbsp;&nbsp;
		Icons by <a href="http://famfamfam.com/">FAMFAMFAM</a>. </p>
</div>
<!-- end footer -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-9620993-2");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>